// 接口继承接口
interface Animal {
    eat(): void;
}

interface Person extends Animal {
    work(): void
}

class Programmer {
    name: string;

    constructor(name: string) {
        this.name = name;
    }

    coding(code: string) {

    }
}

class Web extends Programmer implements Person {
    constructor(name: string) {
        super(name)
    }

    eat(): void {
    }

    work(): void {
    }

}

export {}